using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class GameManager : Singleton<GameManager>
{
    public void Init()
    {
        SceneManager.LoadScene("Login");
        if(Net.Instance == null)
        {
            GameObject obj = new GameObject("Net");
            obj.AddComponent<Net>();
        }
        Net.Instance.Connect("127.0.0.1", 8080);
    }
}
